FROM java:8
WORKDIR /bbs
EXPOSE 8080
ARG JAR_FILE
ADD target/${JAR_FILE} /bbs/bbs.jar
ENTRYPOINT ["java", "-jar","/bbs/bbs.jar"]
